import { defineStore } from 'pinia';

/**
 * 路由列表
 * @methods setRoutesList 设置路由数据
 * @methods setColumnsMenuHover 设置分栏布局菜单鼠标移入 boolean
 * @methods setColumnsNavHover 设置分栏布局最左侧导航鼠标移入 boolean
 */
interface NewOrderState{
	newOrder:Boolean
}
export const useOrderStatus = defineStore('orderStatus', {
	state: (): NewOrderState => ({
    newOrder:false
	}),
	actions: {
		setNewOrder(data: Boolean) {
			this.newOrder = data;
		},
	},
});
